<?php

class vip_ctrl extends Controller
{

    public function __construct()
    {
        parent::__construct();

    }

    //会员
    public function vip()
    {
        if (!$this->ajax_err && $this->uid) {

            $data = json_encode(array("socialNo" => $this->uid));

            $res = curl_fn($data, API_IP.'hwcrmweb/wechat/cust/loadCustNoBySocialNo.do');

            $this->ajax($res);
        } else {
            return $this->ajax('', array(1, '未登录', 1, '请登录'));
        }
    }

}